package com.gupaoedu.springframework;

import com.gupaoedu.springframework.mvcframework.context.MyApplicationContext;

/**
 * projectName: my-springframwork
 * packageName: com.gupaoedu.springframework
 * Created: 2019/4/15.
 * Auther: baifc
 * Description:
 */
public class Test {

    public static void main(String[] args) {

        MyApplicationContext myApplicationContext = new MyApplicationContext("classpath:application.properties");

        Object instance = myApplicationContext.getBean("demoController");
        System.out.println("instance = " + instance);
    }
}
